from mindspore import Tensor
t=Tensor([2,6,8])
print(f"\n{t}")
print(f"\n{t.shape}")
print(f"\n{t.dtype}")
print(f"\n{t.ndim}")
t=Tensor([(2,6,8),(3,4,5)])
print(f"\n{t}")
print(f"\n{t.shape}")
print(f"\n{t.dtype}")
print(f"\n{t.ndim}")
t=Tensor([[(2,6,8),(3,4,5)],[(2,6,8),(3,4,5)]])
print(f"\n{t}")
print(f"\n{t.shape}")
print(f"\n{t.dtype}")
print(f"\n{t.ndim}")